package com.jingxing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingxing.mapper.MatchInfoMapper;
import com.jingxing.pojo.MatchInfo;
import com.jingxing.service.MatchInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class MatchInfoServiceImpl extends ServiceImpl<MatchInfoMapper, MatchInfo> implements MatchInfoService {

    @Autowired
    private MatchInfoMapper matchInfoMapper;

    @Override
    public List<MatchInfo> getMatchInfos(Integer competitionLevel, String name, String phone) {
        return matchInfoMapper.getMatchInfos(competitionLevel, name, phone);
    }
}
